﻿@{
    Ajax.Dna().Widget()
        .Content(@<text>
    @if (!string.IsNullOrEmpty(item.GetString("Url")))
    {
        @Video.MediaPlayer(Url.Content(item.GetString("Url")), item.GetInt("Width").ToString()+"px", item.GetInt("Height").ToString()+"px");
    }
    </text>)
.Preview(@<text>
@Video.MediaPlayer("http://sample.com/test.wmv","360px")
</text>)
        .Render();
}
